//  @ Project : GagalPanen
//  @ File Name : watersprite.hpp
//  @ Date : 3/9/2011
//  @ Author : Irvan
//
//


#if !defined(_WATERSPRITE_H)
#define _WATERSPRITE_H

#include <string>
#include "sprite.hpp"
#include "actiontype.hpp"

class WaterSprite : public Sprite {
public:
  // normal constructor
  WaterSprite(GameInterface* game);
  
  // load game constructor
  WaterSprite(GameInterface* game, std::ifstream& is);

  virtual void save(std::ofstream& os);

  virtual ~WaterSprite();
  
  void resetPosition();
  bool isImportant(Cell* cell);
  SpriteType getType();
  std::string getViewRep(Direction dir);
  ActionType getActionType();
};

#endif  //_WATERSPRITE_H
